package miage.rest;

/**
 *
 * @author Schwartz Michaël
 */
public class Configuration {

	private String dbUrl;
	private String dbUser;
	private String dbPassword;
	private String dbDriverClassName;

	private String mailSmtpHost;
	private String mailFromAddress;
	private String mailFromName;
	private String mailSmtpUser;
	private String mailSmtpPassword;

	private int listenPort = 8182;

	public String getDbPassword() {
		return dbPassword;
	}

	public String getDbUrl() {
		return dbUrl;
	}

	public String getDbUser() {
		return dbUser;
	}

	public int getListenPort() {
		return listenPort;
	}

	public void setDbPassword(String dbPassword) {
		this.dbPassword = dbPassword;
	}

	public void setDbUrl(String dbUri) {
		this.dbUrl = dbUri;
	}

	public void setDbUser(String dbUser) {
		this.dbUser = dbUser;
	}

	public void setListenPort(int listenPort) {
		this.listenPort = listenPort;
	}

	public String getDbDriverClassName() {
		return dbDriverClassName;
	}

	public void setDbDriverClassName(String dbDriverClassName) {
		this.dbDriverClassName = dbDriverClassName;
	}

	public String getMailFromAddress() {
		return mailFromAddress;
	}

	public void setMailFromAddress(String mailFromAddress) {
		this.mailFromAddress = mailFromAddress;
	}

	public String getMailFromName() {
		return mailFromName;
	}

	public void setMailFromName(String mailFromName) {
		this.mailFromName = mailFromName;
	}

	public String getMailSmtpHost() {
		return mailSmtpHost;
	}

	public void setMailSmtpHost(String mailSmtpHost) {
		this.mailSmtpHost = mailSmtpHost;
	}

	public String getMailSmtpPassword() {
		return mailSmtpPassword;
	}

	public void setMailSmtpPassword(String mailSmtpPassword) {
		this.mailSmtpPassword = mailSmtpPassword;
	}

	public String getMailSmtpUser() {
		return mailSmtpUser;
	}

	public void setMailSmtpUser(String mailSmtpUser) {
		this.mailSmtpUser = mailSmtpUser;
	}

	

}
